import { createWebHistory, createRouter } from 'vue-router'


const routes = [
  { 
    path: '/',
    name: 'openlayer', 
    component: () => import("@/pages/openlayer/index.vue") 
  },
  { 
    path: '/cesium', 
    name: 'cesium', 
    component: () => import("@/pages/cesium/index.vue") 
  },
]

export const router = createRouter({
  history: createWebHistory(),
  routes,
})